<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="mytag" uri="/tlds/mytag"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

	String channelName=request.getParameter("/TChannel/channelName/criterion/value");
	if(channelName==null) channelName="";
	String linkmanSale=request.getParameter("/TChannel/linkmanSale");
	if(linkmanSale==null) linkmanSale="";
	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>查询结果</title>

<!-- css 样式 start-->
<link rel="stylesheet" href=".../../themes/skyblue/skyblueMain.css" type="text/css" title="styles1" />
<!-- css 样式  end-->

<!-- common javascript start-->
<script language="javascript" src=".../../themes/js/common.js"></script>
<script language="javascript" src=".../../themes/js/Validate.js"></script>
<script language="javascript" src=".../../themes/My97DatePicker/WdatePicker.js"></script>
<!-- common javascript end-->
</head>

<body>
<div id="main">
  	<div id="tab-top">
  		<div id="ptk1">
	  		<div id="lift"></div>
	  		<div id="pt">【资源组管理】查询结果</div>
	  		<div id="right"></div>
  		</div>
 	</div>
<form action="action.com.auth.group.TAuthGroupQuery.do" name="queryForm" method="post" onsubmit="return checkForm();">
	<input type="hidden" id="_PAGE_pageNo" name="_PAGE_pageNo" value="${_PAGE.pageNo}" /> 
	<input type="hidden" id="_PAGE_totalPage" name="_PAGE_totalPage" value="${_PAGE.totalPage}" />
	
	<!-- 查询 -->
	<div id="table">
   		<div id="ptk">
   			<div id="tabtop-l"></div>
    		<div id="tabtop-z">查询条件</div>
    		<div id="tabtop-r1"></div>
    	</div>
  	</div>

  	<div id="main-tab">
	    <div id="info">
			<ul id="fh-flie-bdh">
	       		<li>
	       			资源组ID:
					<input type="text" size="20"  id="tAuthGroup_id" name="tAuthGroup_id" value="${tAuthGroup.id}"
						size="20"/>
	       		</li>
	       		<li>
	       			资源组名称:
					<input type="text" size="20"  id="tAuthGroup_name" name="tAuthGroup_name" value="${tAuthGroup.name}"
						size="20"/>
	       		</li>
	       		<li>
	       			<input type='submit' value="查询" class="buttonB4" onmouseover="this.className='buttonY4'" onmouseout="this.className='buttonB4'"/>
	       		</li>
	        </ul>
		</div>
	</div>
	<div id="table">
   		<div id="ptk">
   			<div id="tabtop-l"></div>
    		<div id="tabtop-z">查询结果</div>
    		<div id="tabtop-r1"></div>
    		    
    	</div>
    </div>

    
    <div id="fh-flie-2" align="right">
	    	<input type='button' value="删除选中" onclick="return deleteSelected('action.com.auth.group.TAuthGroupDelete.do');" class="buttonB4" onmouseover="this.className='buttonY4'" onmouseout="this.className='buttonB4'"/>
    		<input type='button' value="添  加" onclick="window.location='action.com.auth.group.ToTAuthGroupInsert.do'" class="buttonB4" onmouseover="this.className='buttonY4'" onmouseout="this.className='buttonB4'"/>
	</div>	
	<div id="main-tablist">
  	<table width="100%" align="center" cellpadding="0" cellspacing="0" >
      	
	<tr id="minpt-tab">  
	    <td width="8%"><input type="checkbox" name="seleceAll" onclick="fSelectAll(this.name);" /></td>
	    <td>资源组ID</td>
	    <td>资源组名称</td>
	    <td>创建时间</td>
	    <td>描述</td>
	    <td width="25%">操作</td>
  	</tr>
	<logic:present name="list" scope="request">
			<logic:iterate id="tAuthGroup" name="list" scope="request">		  
			  <tr class="out" onmouseover="this.className='over'" onmouseout="this.className='out'">
				<td align="center"><input type="checkbox" name="ids" value="${tAuthGroup.id}"></td>
             			<td align="center">${tAuthGroup.id}</td>
             			<td align="center">${tAuthGroup.name}</td>
             			<td align="center">${tAuthGroup.createdtime}</td>
             			<td align="center">${tAuthGroup.groupDescribe}</td>
			    <td>
			        <a href="action.com.auth.group.TAuthGroupUpdate.do?tAuthGroup_id=${tAuthGroup.id}" title="修改"><img src=".../../themes/images/ico/cog.gif" width="16" height="16" class="icoimg" />修改</a>
			        <a href="action.com.auth.group.TAuthGroupBrowse.do?tAuthGroup_id=${tAuthGroup.id}" title="查看"><img src=".../../themes/images/ico/zoom.gif" width="16" height="16" class="icoimg" />查看</a>
			        <a href="action.com.auth.resource.TAuthResourceQuery.do?tAuthResource_groupId=${tAuthGroup.id}&_CONFIG=true" title="配置该组有哪些资源"><img src=".../../themes/images/ico/page_white_gear.gif" width="16" height="16" class="icoimg" />为该组配置资源</a>
				</td>
				
			  </tr>
			</logic:iterate>
	</logic:present>
	</table>
	
<logic:notEmpty name="list">
	<div id="info-pz">
	<%@ include file="../commonpage/pageCommon.jsp" %>	
</div>
</logic:notEmpty>

</form>
</div>
</body>
</html>
<script type="text/javascript">
function checkForm(){

	var idValue = document.getElementsByName("tAuthGroup_id").item(0).value;
	
	var nameValue = document.getElementsByName("tAuthGroup_name").item(0).value;
	

	return true;
}
</script>
